"""
xapper testapp view definitions.
"""

import django.shortcuts
import testapp.xaps

def app_a_page(request):
  context = {
    "silverlight_app": testapp.xaps.app_a,
  }
  return django.shortcuts.render_to_response("testapp/app.xhtml", context, mimetype="text/html")


def app_b_page(request):
  context = {
    "silverlight_app": testapp.xaps.app_b,
  }
  return django.shortcuts.render_to_response("testapp/app.xhtml", context, mimetype="text/html")
